package com.chen.service;

import com.chen.User;
import com.chen.entity.Spinguser;

import java.util.List;

/**
 * Created by Administrator on 2017/6/14.
 */
public interface SpinguserService {

    Spinguser findSpinguserById(int id);

    Integer deleteById(Integer id);

    int insertData(Spinguser spinguser);

    int updateUsers(User user);

    List<User> selectSpinguserByPage(Integer pageOffset, Integer pageSize);

    int allPages();

    List<Spinguser> selectAll();

    Spinguser updateByName(String name);

    Spinguser selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(Spinguser spinguser);

    int deleteByPrimaryKey(Integer id);


    Spinguser selectByName(String name);

}
